
<fieldset style="height:100%;">
    <legend>管理员列表</legend>
    <div id="layout-02" style="height:94%; overflow:hidden;" class="bjui-layout"><div class="bjui-pageHeader">
        <form id="pagerForm" data-toggle="ajaxsearch" action="layout/layout-02.html" method="post" class="nice-validator n-red" novalidate="novalidate">
            <input type="hidden" name="pageCurrent" value="1111">
            <input type="hidden" name="pageSize" value="2222">
            <input type="hidden" name="orderField" value="${model.orderField)">
            <div class="bjui-searchBar">
                <label>名称：</label><input type="text" value="" name="code" size="10" class="form-control" style="width: 100px;">&nbsp;
                <button type="submit" class="btn btn-default" data-icon="search"><i class="fa fa-search"></i> 查询</button>&nbsp;
                <a class="btn btn-orange" href="javascript:;" data-toggle="reloadsearch" data-clear-query="true" data-icon="undo"><i class="fa fa-undo"></i> 清空查询</a>
                <!--<a href="{:url('Admin/add')}" data-toggle="dialog" data-width="800" data-height="400" data-id="dialog-normal"><i></i>管理员添加</a>-->
                <span><a href="{:url('Auth/add')}" data-id="dialog-normal" data-toggle="dialog" ><i class="Hui-iconfont">&#xe600;</i> 添加权限</a> </span>
            </div>
        </form>
    </div>
        <table class="table table-border table-bordered table-bg">
            <thead>
            <tr>权限列表</th>
            </tr>
            <tr class="text-c">
                <th width="25"><input type="checkbox" name="" value=""></th>
                <th width="40">ID</th>
                <th width="150">权限名称</th>
                <th>模块名称</th>
                <th>控制器名称</th>
                <th>方法名称</th>
                <th width="130">加入时间</th>
                <th width="100">更新时间</th>
                <th width="100">操作</th>
            </tr>
            </thead>

            <tbody>
            {foreach $data as $k=>$v}
            <tr>
                <td><input type="checkbox" value="{$v.id}" name="che"></td>
                <td>{$v.id}</td>
                <td>{$v.auth_name}</td>
                <td>{$v.auth_m}</td>
                <td>{$v.auth_c}</td>
                <td>{$v.auth_f}</td>
                <td>{$v.create_time}</td>
                <td>{$v.update_time}</td>
                <td>
                    <a href="{:url('edit',['id'=>$v.id])}" data-id="dialog-normal" data-toggle="dialog" class="btn btn-green">编辑</a>
                    <a href="__URL__/del/id/{$v.id}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删</a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

</fieldset>